<{capture name="header"}>
<{css app="ome" src="style.css"}>
<{/capture}>
<style type="text/css">
  .tableform th{
    text-align: left;
  }
  #cc th,#cc td{
    border:1px solid #C8D6DC;
    height:15px;
    padding:3px;
  }
</style>
<div class="tableform">
  <h3>异常发货单列表</h3>
  <div class="division">
    <div id="custom_search">

    <a href="index.php?app=masterkey&ctl=admin_errorlist&act=updateWms&page=<{$page}>">
    <input type="button" value="处理发货单" ></input></a>
    </div>
  </div>
  <div id="cc" class="noprint">
    <table width="" border="">
      <tr>
        <th style=" background:#f6f6f6;">
        发货单编号
        </th>
        <th style=" background:#f6f6f6;">
        物流公司
        </th>
        <th style=" background:#f6f6f6;">
        物流单号
        </th>
        <th style=" background:#f6f6f6;">
        仓库
        </th>
        <th style=" background:#f6f6f6;">
        收货人
        </th>
        <th style=" background:#f6f6f6;">
        收货地址
        </th>
        <th style=" background:#f6f6f6;">
        创建时间
        </th>
        <th style=" background:#f6f6f6;">
        发货状态
        </th>
        <th style=" background:#f6f6f6;">
        是否签收
        </th>
      </tr>
      <{foreach from=$data item=item}>
        <tr>
          <td><{$item.delivery_bn}></td>
          <td><{$item.logi_name}></td>
          <td><{$item.logi_no}></td>
          <td><{$item.branch_name}></td>
          <td><{$item.ship_name}></td>
          <td><{$item.ship_province}><{$item.ship_city}><{$item.ship_district}></td>
          <td><{$item.status}></td>
          <td><{$item.create_time}></td>
          <td><{$item.is_received}></td>
        </tr>
      <{/foreach}>
    </table>
    <div style="float:left">总共:<{$total}>条&nbsp;&nbsp;&nbsp;&nbsp;</div>
    <div style="float:left">&nbsp;&nbsp;&nbsp;&nbsp;第<{$page}>页</div>
    <div style="float:left">&nbsp;&nbsp;&nbsp;&nbsp;每页<{$pagelimit}>条</div>
    <div style="float:right;margin-right:20px;"><a class="btn" href="index.php?app=masterkey&ctl=admin_errorlist&act=index&page=<{$page-1}>">上一页</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class="btn" href="index.php?app=masterkey&ctl=admin_errorlist&act=index?page=<{$page+1}>">下一页</a></div>
  </div>
</div>
<script type="text/javascript">
        function sendAX(){
              var url="index.php?app=masterkey&ctl=admin_errorlist&act=updateWms";
              new Request.HTML({
                url:url,
                method:'post',
                data:{"page":"<{$page}>"},
                  onSuccess: function(nodes, elements, responsetext, javascript) {
                    alert("操作成功");
                    window.location="index.php?app=masterkey&ctl=admin_errorlist&act=index&page=<{$page}>";
                  },
                onComplete:function(){
                }

              }).send();
        }
</script>